package main

func main() {

}

type Rectangle struct {
	Width float64
	High  float64
}

func Perimeter(width float64, high float64) float64 {
	return 2 * (width + high)
}
func Area(width float64, high float64) float64 {
	return high * width
}

func Perimeters(rectangle Rectangle) float64 {
	return 2 * (rectangle.Width + rectangle.High)
}
func Areas(rectangle Rectangle) float64 {
	return rectangle.Width * rectangle.High
}
